package com.aitoedu.server.mapper;

import com.aitoedu.server.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【user_role(用户角色信息)】的数据库操作Mapper
* @createDate 2024-09-04 19:03:23
* @Entity com.aitoedu.server.entity.UserRole
*/
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<String> getAllRoleByUserId(Long userId);
}




